package com.nameless.feign;

import com.nameless.entity.Client;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author : 陈灰灰
 * @Date: 2023/03/04/10:01
 * @Description:
 */
@FeignClient("car-customer")
public interface ClientFeign {
    @RequestMapping("/client/getClient/{clientName}")
    public Client getClientName(@PathVariable String clientName);
}
